from PyQt5.Qt import *
from demo_377_QtDesigner import Ui_Form


class Window(QWidget, Ui_Form):
    def __init__(self):
        super().__init__()
        self.setWindowTitle('demo_377_QtDesigner_exe')
        self.resize(500, 500)
        self.setupUi(self)

    def check_login(self):
        print(self.lineEdit.text())


if __name__ == '__main__':
    import sys
    app = QApplication(sys.argv)

    win = Window()
    win.show()

    sys.exit(app.exec_())
